home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 February: Tool Chest / Apple Developer CD Series Tool Chest February 1996 (Apple Computer)(1996).iso / Sample Code / System 7.0 Samples / About Sample Code next >
Encoding:
Text File  |  1994-11-18  |  1.6 KB  |  21 lines  |  [ttro/ttxt]

  1. About Sample Code
  2.  
  3. This folder contains the partially converted sample code. The sample are converted to use the
  4. Universal Interfaces for Pascal and C. The Pascal Universal Interfaces are in the MPW Prerelease folder, the C(++) Universal Interfaces are in MPW Latest or MPW Prerelease. Make sure that you add back ObjIntf.p to the pascal Universal Interfaces.
  5.  
  6. No attempt has been made to provide native builds, although most changes to be PowerPC compliant have been added. This is a result of switching over to the Universal Interfaces.
  7.  
  8. No attempt has been made to preserve THINK C or THINK Pascal projects. All examples build with MPW C, C++ and/or Pascal.
  9.  
  10. Three MPW scripts are supplied:
  11.  
  12. UserStartup•SampleCode - Locates Sample Code folder and sets some variables. You can move this into your MPW folder.
  13. WorkSheet•MSC - WorkSheet for "Macintosh Sample Code". Contains commands to build all samples. Select All, Execute and execute the resulting build commands.
  14. WorkSheet•S7S - WorkSheet for "System 7.0 Samples".  Contains commands to build all samples. Select All, Execute and execute the resulting build commands.
  15.  
  16. Remarks:
  17. • Pascal Universal Interfaces misses ObjIntf.p Please copy this from the non-Universal Interfaces of Pascal in MPW Latest.
  18. • The differences between Pascal Universal Interfaces and non-Universal Interfaces is too big to allow compilation with both from a single source code.
  19.  
  20. It is likely this folder is only temporary. A complete review of all the sample code is in progress, including all of the Snippets. One or more of the current samples may become obsolete.
  21.